
#ifndef __XML_H__
#define __XML_H__

#include  "cfg_main.h"

int xml_put_head(char *head, char *p);
int xml_out_tabs(char *p);

int xml_tag_start(char *tag, char *p);
int xml_tag_start_para(char *tag, char *para1_name, char *para1, char *para2_name, char *para2, char *p);
int xml_tag_start_para_num(char *tag, char *para1_name, int para1, char *para2_name, int para2, char *p);
int xml_tag_start_3para(char *tag, char *para1_name, char *para1, char *para2_name, char *para2, char *para3_name, char *para3, char *p);

int xml_tag_end(char *tag, char *p);

int xml_tag_value(char *tag, char *value, char *p);
int xml_tag_value_num(char *tag, int value, char *p);
int xml_tag_para_value(char *tag, char *para1_name, char *para1, char *para2_name, char *para2, char *value, char *p);
int xml_tag_para_value_num(char *tag, char *para1_name, int para1, char *para2_name, int para2, int value, char *p);

#endif

